package com.djzhou.gmms.model.user;

import com.djzhou.gmms.model.entity.Entity;


public class TbUserRole extends Entity {


	private Integer keyId;
	private Integer userId;
	private Integer roleId;
	private Integer mainRoleFlag;//是否为主角色,主角色为身份角色,在任何页面不显示从角色,只显示主角色

	public Integer getKeyId() {
		return this.keyId;
	}

	public void setKeyId(Integer keyId) {
		this.keyId = keyId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getMainRoleFlag() {
		return mainRoleFlag;
	}

	public void setMainRoleFlag(Integer mainRoleFlag) {
		this.mainRoleFlag = mainRoleFlag;
	}
	

}